
<?php 
$templateURL = $this->basePath('public/template');
?>
     <?php
    $form = $this->ProductForm;
    $form->prepare();
    echo $this->form()->openTag($form);
    ?>
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">Thêm sản phẩm</h4>
      </div>
      <div class="modal-body">
         <dl class="dl-horizontal">
			  <dt>
			    <?php echo $this->formLabel($form->get('nameprotype')); ?>
			  </dt>
			  <dd>
			  <?php echo $this->formElement($form->get('nameprotype')); ?>
			  <span class="text-danger product-error"><?php echo $this->formElementErrors($form->get('nameprotype'));?></span>
			  </dd>
			  			 
			  <dt class="activep">
			    <?php echo $this->formLabel($form->get('activeprotype')); ?> 
			  </dt>
			  <dd class="activep1">
			  <?php echo $this->formElement($form->get('activeprotype')); ?>
			  </dd>
		  </dl>
      </div>
             
      <div class="modal-footer">
        
        <?php
        echo $this->formElement($form->get('submit'));
      ?>
      </div>
    </div>
    <?php
      echo $this->form()->closeTag($form);
     ?>      